package com.ay277.htqoa.base.biz;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Jun on 2016/12/7.
 */
public interface Biz<E extends Serializable,PK extends  Serializable>  {

    void  doSave(E entity);

    void doDelete(E entity);

    void doUpdate(E entity);

    E findById(PK id);

    List<E> findAll();

}
